package rulusoft.nook.rssReader;

import java.util.Date;
import java.util.List;
import java.util.Vector;

import android.R.string;
import rulusoft.nook.rssReader.rssitem;

public class rssfeed {
	private String _title=null;
	private String _pubDate=null;
	private int _itemcount=0;
	private List<rssitem> _itemlist;
	
	rssfeed() {
		_itemlist = new Vector(0);
	}
	int addItem(rssitem item) {
		_itemlist.add(item);
		_itemcount++;
		return _itemcount;
	}
	rssitem getItem(int location) {
		return _itemlist.get(location);
	}
	List getAllItems()
	{
		return _itemlist;
	}
		int getItemCount()
	{
		return _itemcount;
	}
	void setTitle(String title)
	{
		_title = title;
	}
	void setPubDate(String pubdate)
	{
	_pubDate = pubdate;
	}
	String getTitle()
	{
		return _title;
	}
	String getPubDate()
	{
		return _pubDate;
	}
}